package com.core.zyyz.amc.modules.mapper;

import java.util.List;
import com.core.zyyz.amc.modules.domain.AmcCreditAgreement;

/**
 * 授信额度Mapper接口
 *
 * @author lfs
 * @date 2024-12-04
 */
public interface AmcCreditAgreementMapper
{
    /**
     * 查询授信额度
     *
     * @param creditAgreementId 授信额度主键
     * @return 授信额度
     */
    public AmcCreditAgreement selectAmcCreditAgreementByCreditAgreementId(String creditAgreementId);

    /**
     * 查询授信额度列表
     *
     * @param amcCreditAgreement 授信额度
     * @return 授信额度集合
     */
    public List<AmcCreditAgreement> selectAmcCreditAgreementList(AmcCreditAgreement amcCreditAgreement);

    /**
     * 新增授信额度
     *
     * @param amcCreditAgreement 授信额度
     * @return 结果
     */
    public int insertAmcCreditAgreement(AmcCreditAgreement amcCreditAgreement);

    /**
     * 修改授信额度
     *
     * @param amcCreditAgreement 授信额度
     * @return 结果
     */
    public int updateAmcCreditAgreement(AmcCreditAgreement amcCreditAgreement);

    /**
     * 删除授信额度
     *
     * @param creditAgreementId 授信额度主键
     * @return 结果
     */
    public int deleteAmcCreditAgreementByCreditAgreementId(String creditAgreementId);

    /**
     * 批量删除授信额度
     *
     * @param creditAgreementIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAmcCreditAgreementByCreditAgreementIds(String[] creditAgreementIds);
}
